package com.zzyl.nursing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyl.nursing.domain.pojo.Reservation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;


/**
 * 预约信息Mapper接口
 */
@Mapper
public interface ReservationMapper extends BaseMapper<Reservation> {


    /**
     * 2.1 查询当天取消预约数量
     */
    Long getAllCancellerdCount(@Param("currentUserId") Long currentUserId, @Param("startTime") LocalDateTime startTime, @Param("endTime") LocalDateTime endTime);
    
}
